package com.j180.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@Configuration
//@ComponentScan: 扫描当前类所在的包 及其子包
//@ComponentScan(basePackageClasses = SpringConfig.class)
@ComponentScan(basePackages="com.j180.*")
//@ComponentScan(basePackages = {"com.j180.dao.impl","com.j180.service.impl"})
//开启aop的注解功能
@EnableAspectJAutoProxy
public class SpringConfig {

}
